ShortenLinks
Shorten Links
Description
This snippet of code will compress your link length and make it too short upto great extent.
Requirements
$ pip install pyshorteners
Steps To Execution
- Fork this repo and navigate to ShortenLinks folder
- Run this code.py
$ python code.py - Yay !! you got your shorten link as output
Source Code: code.py
"""
Example input : https://github.com/Dhrumil-Zion/Python-project-Scripts
"""
import pyshorteners
link = input("\nEnter your link : ")
short = pyshorteners.Shortener()
x = short.tinyurl.short(link)
print("\nShorted link is : "+x)